package com.manager.assignment.zq.service.Impl;


import com.manager.assignment.zq.mapper.SellerDao;
import com.manager.assignment.zq.service.GetSeller;


import com.manager.model.model.SellerRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GetSellerImpl implements GetSeller {

    @Autowired
    private SellerDao sellerDao;

    @Override
    public List<SellerRecord> getAllSellers() {
        return sellerDao.getAllSellers();
    }
}
